﻿
using System.Collections.Generic;
using SIG.Model;
using SIG.Model.Emails;

namespace SIG.Service
{
    public interface IEmailService : IEntityService<Email>
    {
        IEnumerable<Email> GetActiveEmails();
        List<Email> GetPagedElements(int pageIndex, int pageSize, string keyword, bool active, out int totalCount);
        IEnumerable<Email> LatesterEmails(int count);
        bool DeleteEmails(int[] Ids);
        bool RemoveEmails(int[] Ids);
        bool RestoreEmails(int[] Ids);

        //bool SendMail(string sender, string email, string subject, string body);
    }
}
